Ext.define('WebMeV.view.ribbon.Ribbon', {				
    extend: 'Ext.tab.Panel',
    alias: 'widget.ribbon',
    id: 'ribbon',
    requires: [
    'WebMeV.view.LoginForm'
    ],
    cls: 'ui-ribbonbar',
    activeTab: 0,
    plain: true,   
    tabBar:{
        items:[{
            xtype: 'tbfill'
        },{
            xtype : "loginform"
        }],
    action: 'bbb',
    style: 'margin-right: 60px'
    },
    unstyled: true,
    autoHeight: true,
    border: false,
    
    bodyStyle: 'margin-bottom: -3px;',

    addTab: function (config, focus) {
        var tab = this.add(config);
        if (focus === true) this.setActiveTab(tab);
    },

    initComponent: function () {
        this.callParent(arguments);
    }
});
